package com.hqyj.smvc.pojo;

import lombok.Builder;

import java.util.List;

@Builder
public class Permissions {

    private Integer permissions_id;

    private String permissions_name;

    private String permissions_address;

    private List<Role> role;


    public Permissions() {
    }

    public Permissions(Integer permissions_id, String permissions_name, String permissions_address, List<Role> role) {
        this.permissions_id = permissions_id;
        this.permissions_name = permissions_name;
        this.permissions_address = permissions_address;
        this.role = role;
    }

    /**
     * 获取
     * @return permissions_id
     */
    public Integer getPermissions_id() {
        return permissions_id;
    }

    /**
     * 设置
     * @param permissions_id
     */
    public void setPermissions_id(Integer permissions_id) {
        this.permissions_id = permissions_id;
    }

    /**
     * 获取
     * @return permissions_name
     */
    public String getPermissions_name() {
        return permissions_name;
    }

    /**
     * 设置
     * @param permissions_name
     */
    public void setPermissions_name(String permissions_name) {
        this.permissions_name = permissions_name;
    }

    /**
     * 获取
     * @return permissions_address
     */
    public String getPermissions_address() {
        return permissions_address;
    }

    /**
     * 设置
     * @param permissions_address
     */
    public void setPermissions_address(String permissions_address) {
        this.permissions_address = permissions_address;
    }

    /**
     * 获取
     * @return role
     */
    public List<Role> getRole() {
        return role;
    }

    /**
     * 设置
     * @param role
     */
    public void setRole(List<Role> role) {
        this.role = role;
    }

    public String toString() {
        return "Permissions{permissions_id = " + permissions_id + ", permissions_name = " + permissions_name + ", permissions_address = " + permissions_address + ", role = " + role + "}";
    }
}
